"""Local subprocess routines."""

from .popen import NonBlockingSubprocess

def runCommandNonblocking(cmd):
    return NonBlockingSubprocess(cmd)

def runCommandBlocking(cmd):
    _proc = runCommandNonblocking(cmd)
    _proc.wait()
    return _proc

# vim: set sts=4 sw=4 et :
